/**
 *  fileName:testtimer
 *  time:2020/11/17
 *  todo:$END$
 */

// let target_time = new Date('2020-11-17 10:08')
// let timer = setInterval(() => {
//   if(new Date().getTime()>target_time){
//     clearInterval(timer)
//     location.reload()
//   }
// },13)
//
  let target_time = new Date('2020-11-20 10:08')
  let timer = setInterval(() => {
    if(new Date().getTime()>target_time){
      let btn = document.querySelector('#J_LinkBuy')
      if (btn) {
        clearInterval(timer)
        btn.click()
      }
    }
  },13)
  let timer = setInterval(() => {
    let btn = document.querySelector('.go-btn')
    if (btn) {
      clearInterval(timer)
      btn.click()
    }
  },13)

